﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="confirm_Y_continue_frompost.aspx.cs" Inherits="SellerProject.testfolder.confirm_Y_continue_frompost" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">  
    <title></title>  
    <script type="text/javascript">
        function CustomSubmit() {
            var form = document.getElementById('<%=form1.ClientID %>');
            document.getElementById('hID').value = confirm('确认执行么？');
            form.submit();
        }  
     </script>  
</head>  
<body>  
    <form id="form1" runat="server">  
        <input type="hidden" id="hID" name="hName" />
        <asp:ScriptManager ID="scriptmanger1" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>
            <asp:Button ID="btnCallBack" runat="server" Text="回发并弹出confirm" OnClick="btnCallBack_Click" />  
            <br />  
            <asp:Literal ID="lit" runat="server"></asp:Literal>
        </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btnCallBack" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>                 
    </form>  
</body> 
</html>
